Activitypub\Transformer\Post C

Total Complexity 113
Dependencies 6
Dependents 1
Total lines 856
Lines of code 486
Logical lines of code 298
Comment lines 250
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
get_media_from_blocks()
B
41 18 57
wp_attachment_to_activity_attachment()
A
43 10 51
get_classic_editor_image_embeds()
A
47 11 36
get_type()
A
48 8 36
get_enclosures()
S
51 7 28
get_attachment()
S
49 6 31
get_tag()
S
52 5 26
get_post_content_template()
S
54 5 22
get_summary()
S
52 4 23
get_classic_editor_image_attachments()
S
53 4 23
get_classic_editor_images()
S
60 4 13
get_url()
S
60 4 12
get_attributed_to()
S
63 4 11
get_name()
S
61 3 14
to_object()
S
54 2 23
get_content()
S
54 2 20
get_cc()
S
65 3 10
get_block_attachments()
S
66 2 8
get_audience()
S
68 2 8
filter_media_by_object_type()
S
67 2 7
get_mentions()
S
78 1 3
get_locale()
S
71 1 5
get_wp_user_id()
S
82 1 3
get_wordpress_attachment()
S
70 1 6
change_wp_user_id()
S
77 1 4
get_id()
S
81 1 3
revert_embed_links()
S
77 1 3